import request from '@/utils/request.js'
import { useTokenStore } from '@/stores/token.js';
//学生课堂列表查询
export const studentInfoService = () => {
    let tokenStore = useTokenStore()
    //console.log(tokenStore.token.token)
    const headers = {
        token: tokenStore.token.token
    }
    return request.get('/student/profile', { headers });
}
export const changePassword = (params) => {
    const store = useTokenStore()
    const headers = store.token
    return request.post('/student/updatepassword', null, { headers, params })
}